<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

/**
 * Date: 2018/2/28
 * @author George
 * @property $id
 * @property $type
 * @property $data
 * @package App\Models
 */
class Notification extends Model
{
    protected $fillable = [
        'type',
        'notifiable_id',
        'notifiable_type',
        'data',
        'read_at',
    ];

    protected $casts = [
        'id' => 'string',
        'data' => 'array',
    ];

    public $incrementing = false;
}
